package com.kede.api.order;

import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableScheduling;

/***
 ** @Author:Pr.li
 ** @Description: 订单相关服务
 ** @Date: create in 2023/5/15 14:10
 ***/

@SpringBootApplication(exclude = DynamicDataSourceAutoConfiguration.class)
@MapperScan({"com.kede.mapper"})
@ComponentScans(@ComponentScan({"com.kede"}))
@EnableScheduling
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
